package com.lottery.game.core.modules.entity.game;


import com.lottery.game.common.BaseObject;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@NoArgsConstructor
@AllArgsConstructor(access = AccessLevel.PRIVATE)
@Builder
@Getter
@Setter
@Table(name = "game_room")
public class GameRoomV2 extends BaseObject {
    /**
     * 主键
     */
    @Id
    @Column(name = "id")
    @GeneratedValue(generator = "JDBC")
    private String id;

    /**
     * 编号
     */
    @Column(name = "no")
    private Integer no;

    /**
     * 房间名字
     */
    @Column(name = "name")
    private String name;

    /**
     * 机器人名字
     */
    @Column(name = "robot_name")
    private String robotName;

    /**
     * 机器人头像
     */
    @Column(name = "robot_photo")
    private String robotPhoto;

    /**
     * 是否开启竞猜
     */
    @Column(name = "guess_flag")
    private String guessFlag;

    @Column(name = "open_flag")
    private String openFlag;

    /**
     * 在线人数
     */
    @Column(name = "count")
    private Integer count;

    /**
     * 创建者
     */
    @Column(name = "create_by")
    private String createBy;

    /**
     * 创建时间
     */
    @Column(name = "create_date")
    private Date createDate;

    /**
     * 更新者
     */
    @Column(name = "update_by")
    private String updateBy;

    /**
     * 更新时间
     */
    @Column(name = "update_date")
    private Date updateDate;

    /**
     * 备注信息
     */
    @Column(name = "remarks")
    private String remarks;

    /**
     * 删除标记
     */
    @Column(name = "del_flag")
    private String delFlag;

    @Column(name = "roomnumber")
    private Integer roomnumber;

    /**
     * 房间图标
     */
    @Column(name = "room_icon")
    private String roomIcon;

    @Column(name = "guess_flag_context")
    private String guessFlagContext;

    @Column(name = "open_flag_context")
    private String openFlagContext;

    /**
     * 开启聊天
     */
    @Column(name = "open_chat")
    private String openChat;

    @Column(name = "open_chat_context")
    private String openChatContext;

    /**
     * 房间彩种
     */
    @Column(name = "room_lottery_ticket_type")
    private String roomLotteryTicketType;

    @Column(name = "room_lottery_ticket_type_context")
    private String roomLotteryTicketTypeContext;

    @Column(name = "duration")
    private Integer duration;

    @Column(name = "lotteryTime")
    private Integer lotterytime;

    /**
     * 维护时间段
     */
    @Column(name = "maintenance_time")
    private String maintenanceTime;

    /**
     * 维护开始时间
     */
    @Column(name = "maintenance_start_time")
    private String maintenanceStartTime;

    /**
     * 维护结束时间
     */
    @Column(name = "maintenance_end_time")
    private String maintenanceEndTime;

    /**
     * 对子豹子顺子/组合赔率:1：开启;0:关闭
     */
    @Column(name = "combinatorial_odds_switch")
    private String combinatorialOddsSwitch;

    /**
     * 游戏类型名称
     */
    @Column(name = "game_type_id")
    private String gameTypeId;

    /**
     * 游戏名字
     */
    @Column(name = "game_type_name")
    private String gameTypeName;

    /**
     * 游戏玩法编号
     */
    @Column(name = "game_type_playing_id")
    private String gameTypePlayingId;

    /**
     * 游戏玩法名称
     */
    @Column(name = "game_type_playing_name")
    private String gameTypePlayingName;

    @Column(name = "oddsNote")
    private String oddsnote;

    @Column(name = "playNote")
    private String playnote;
}
